<?php

namespace App\Libs\Liao;
class LiaoFunction
{
    /**
     * 将字段名称转换成中文名字 add by gui
     * @param $field_name
     * @return mixed
     */
    public static function getFieldToChinese($field_name)
    {
        $arr['id'] = '编号';

        return isset($arr[ $field_name ]) ? $arr[ $field_name ] : $field_name;
    }
}